<template>
  <div
    class="all"
    :style="{ height: screenHeight + 'px', width: screenWidth + 'px' }"
  >
    <Return txt="朋友权限" style="background: #eeeeee"></Return>
    <div class="title">设置朋友权限</div>
    <div class="row" >
      <div class="rowOne">仅聊天</div>
      <div class="rowtwo">
        <van-icon name="success" />
      </div>
    </div>
    <div class="title">生活圈和动态视频</div>
    <div class="row" >
      <div class="rowOne">不让他看</div>
      <div class="rowtwo">
        <van-switch v-model="checked" />
      </div>
    </div>
    <div class="row">
      <div class="rowOne">不看他</div>
      <div class="rowtwo">
        <van-switch v-model="checked1" />
      </div>
    </div>
  </div>
</template>
<script>
import Return from "../../../components/return";
export default {
  components: {
    Return,
  },
  data() {
    return {
      screenWidth:
        window.innerWidth ||
        document.documentElement.clientWidth ||
        document.body.clientWidth,
      screenHeight:
        window.innerHeight ||
        document.documentElement.clientHeight ||
        document.body.clientHeight,
        checked:false,
        checked1:false
    };
  },
};
</script>
<style scoped>
.all {
  background: #eeeeee;
}
.title {
  padding: 0 0 0 3%;
  width: 97%;
  height: 40px;
  line-height: 40px;
  color: #8b8b8b;
}
.row {
  height: 50px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  background: #fff;
}
.row1 {
  height: 70px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
}
.rowtwo {
  display: flex;
  align-items: center;
  color: #4ec45c;
  font-size: 22px;
}
</style>